﻿#ifndef CSVTHREAD_H
#define CSVTHREAD_H

#include <QObject>
#include <QThread>
#include "csvworker.h"
class CsvThread : public QObject
{
    Q_OBJECT
public:
    explicit CsvThread(QObject *parent = nullptr);
    ~CsvThread();

    void WriteIn(CsvData m_csData);
    void ReadOut();
public:
    QThread m_workThread;
    CsvWorker *m_worker;
signals:
    void sigWriteIn(CsvData m_csData);
    void sigReadOut();
public slots:
};

#endif // CSVTHREAD_H
